home *** CD-ROM | disk | FTP | other *** search
/ Super League / Super League.iso / TUTORIAL / CURSO / WHERE.DXR / 00022.ls < prev    next >
Encoding:
Text File  |  1997-03-25  |  763 b   |  35 lines

  1. on enterFrame
  2.   global var1, var2
  3.   if chars(var2, 6, 6) = "1" then
  4.     if var1 <= 5 then
  5.       set the visible of sprite 30 to 1
  6.     end if
  7.     if (var1 > 5) and (var1 <= 9) then
  8.       set the visible of sprite 31 to 1
  9.     end if
  10.     if var1 > 9 then
  11.       set the visible of sprite 32 to 1
  12.     end if
  13.   end if
  14.   if chars(var2, 6, 6) = "2" then
  15.     set the visible of sprite 33 to 1
  16.   end if
  17.   if chars(var2, 6, 6) = "3" then
  18.     set the visible of sprite 34 to 1
  19.   end if
  20.   if chars(var2, 6, 6) = "4" then
  21.     set the visible of sprite 35 to 1
  22.   end if
  23.   if chars(var2, 6, 6) = "5" then
  24.     set the visible of sprite 36 to 1
  25.   end if
  26.   if chars(var2, 6, 6) = "6" then
  27.     set the visible of sprite 37 to 1
  28.   end if
  29. end
  30.  
  31. on exitFrame
  32.   general()
  33.   go(#loop)
  34. end
  35.